package com.teejdeej.simpleneuralgame;

import java.util.List;
import java.util.Random;

public class RandomPlayer implements Player {

	private Random t_random = new Random();
	
	@Override
	public void learn(List<int[][]> boards, List<int[]> positions, List<Move> moves) {
	}

	@Override
	public Move move(int[][] board, int[] position) {
		Move t_move = new Move();
		
		t_move.m_move = t_random.nextBoolean();
		t_move.m_moveDirection = t_random.nextInt(4);
		
		return t_move;
	}

}
